/**
 * 
 */
package evance.server.common.dao;

import java.util.List;

import com.trg.dao.jpa.GenericDAO;

import evance.data.model.entity.EvRole;

/**
 * @author BaoVuong
 *
 */
public interface RoleDAO extends GenericDAO<EvRole, Long>{

	/**
	 * Lay danh sach role cua khach hang dua vao id 
	 * @param loginInfoId
	 * @return
	 */
	List<EvRole> getListRoles(Long customerId);
	
	/**
	 * Lay danh sach role cua khach hang dua vao ten  dang nhap cua khach hang
	 * @param username
	 * @return
	 */
	List<EvRole> getListRoles(String username);
}

